#ifndef DLGMAIN_H
#define DLGMAIN_H

#include <QDialog>
#include <QtCore>
#include <QSystemTrayIcon>

namespace Ui {
class DlgMain;
}

class DlgMain : public QDialog
{
    Q_OBJECT

public:
    explicit DlgMain(QWidget *parent = 0);
    ~DlgMain();

private slots:
    void start_frame();
    void trayicon_activated(QSystemTrayIcon::ActivationReason reason);

    void on_btn_hide_clicked();
    void on_btn_exit_clicked();

    void on_btn_link_clicked();

private:
    Ui::DlgMain *ui;
    QSystemTrayIcon* m_pSystemTray;
};

#endif // DLGMAIN_H
